/* show the increase of player's HP, 
 * and inc/dec of player's speed 
 */

package info;

import java.awt.Image;
import Missiles.Missile;

public class ShowStatusBonus extends Missile
{
	private int initY;
	public String message;
	
	public ShowStatusBonus(int x, int y, String s)
	{
		super(x, y, 0, true);
		damage = 0;
		speed = 1;
		setImage((Image)null);
		initY = y;
		message = s;
	}
	
	public void move()
	{
		super.move();
		if (initY - getY() >= 40) die(); //it's no longer visible after it moves a certain distance
	}
}
